<script type="text/javascript">
function callGetImageFunc()
{
	setTimeout("getImageList()", 2000);
}
function getImageList()
{
	<?php echo remote_function(array("update"=>"image_list","url"=>"rent/showImage","with"=>"'t_rent_information_id=".$objRentInformation->getId()."'","script"=>true,))?>;
}
</script>
<iframe name="image_frame" id="image_frame" scrolling="no" frameborder="0" width="0" height="0" style="position:absolute; top:0px; left:-100000px;"></iframe>
<form action="<?php echo url_for("common/saveImage")?>" method="post" id="image_form" enctype="multipart/form-data" target="image_frame">
	<input type="hidden" name="MAX_FILE_SIZE" id="MAX_FILE_SIZE" value="1000000" />
	<input type="file" name="image_file" id="image_file" size="80" />
	<input type="hidden" name="t_rent_information_id" id="t_rent_information_id" value="<?php echo $objRentInformation->getId()?>" />
	<input type="hidden" name="mod" id="image_file_mod" value="rent" />
	<input type="submit" value="画像をアップロードする" class="bt_input04" onclick="callGetImageFunc();" />
</form>